Skip to content

fix(release): resolve Windows Bash via PATH - #39

Merged
kalvinnchau merged 3 commits into
mainfrom
fix/windows-just-bash-resolution
Aug 14, 2026
Merged

fix(release): resolve Windows Bash via PATH#39
kalvinnchau merged 3 commits into
mainfrom
fix/windows-just-bash-resolution

Conversation

@kalvinnchau

@kalvinnchau kalvinnchau commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Just 1.40.0 resolves the Windows [script("bash", ...)] interpreter to C:\Windows\System32\bash.exe, the WSL launcher, instead of the Git Bash executable earlier on PATH. This is the command-resolution bug tracked in casey/just#2947 and fixed by casey/just#3160. Just 1.48.0 is the first release containing that fix.

This updates the Hermit package and GitHub Actions pins to Just 1.48.0. It also removes JUST_UNSTABLE; the script recipe attribute used by release-write-provenance is stable in this version.

With Git Bash selected, write-provenance.sh must use sha256sum rather than assuming macOS's shasum is installed. The script now selects shasum -a 256 when available, falls back to sha256sum, and exits with an explicit error when neither tool exists.

Validated with:

  • just release-scripts-test (83 tests)
  • just check
  • just fmt-check
  • just tauri-check
  • just clippy
  • bin/hermit validate env .

@kalvinnchau
kalvinnchau requested a review from a team August 14, 2026 20:17
@kalvinnchau
kalvinnchau merged commit c174a7d into main Aug 14, 2026
8 checks passed
@kalvinnchau
kalvinnchau deleted the fix/windows-just-bash-resolution branch August 14, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant